import request from '@/utils/request'

// 查询药物相互作用管理列表
export function listIncompatibilityMaintain(query) {
  return request({
    url: '/gene/drug/incompatibility/maintain/maintainList', method: 'get', params: query
  })
}

// 修改药物相互作用
export function saveIncompatibilityMaintain(data) {
  return request({
    url: '/gene/drug/incompatibility/maintain/maintainSave', method: 'post', data: data
  })
}

// 保存备注
export function saveAuditOpinion(data) {
  return request({
    url: '/gene/drug/incompatibility/maintain/saveAuditOpinion',
    method: 'post',
    data: data
  })
}
